import request from '@/utils/request'

// 查询配钞任务列表
export function listAtmDenomiTask(query) {
  return request({
    url: '/service/atmDenomiTask/list',
    method: 'get',
    params: query
  })
}

// 查询配钞任务详细
export function getAtmDenomiTask(id) {
  return request({
    url: '/service/atmDenomiTask/' + id,
    method: 'get'
  })
}

// 新增配钞任务
export function addAtmDenomiTask(data) {
  return request({
    url: '/service/atmDenomiTask',
    method: 'post',
    data: data
  })
}

// 修改配钞任务
export function updateAtmDenomiTask(data) {
  return request({
    url: '/service/atmDenomiTask',
    method: 'put',
    data: data
  })
}

// 删除配钞任务
export function delAtmDenomiTask(id) {
  return request({
    url: '/service/atmDenomiTask/' + id,
    method: 'delete'
  })
}
